package com.crm.mapper;

import com.crm.pojo.vo.BusIndexVo;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface IndexMapper {



    Integer CluesCount();
    Integer BusCount();
    Integer ContractCount();


    Integer CluesCounts(LocalDate beginTime, LocalDate endTime);
    Integer BusCounts(LocalDate beginTime, LocalDate endTime);
    Integer ContractCounts(LocalDate beginTime, LocalDate endTime);
    Integer effCluesCount(LocalDate beginTime, LocalDate endTime);


    List<BusIndexVo> getCLueFinish(LocalDateTime beginCreateTime, LocalDateTime endCreateTime);

    List<BusIndexVo> getBusinessFinish(LocalDateTime beginCreateTime, LocalDateTime endCreateTime);
}

